net/http.http2ClientConn.doNotReuse (field)
7 uses
net/http (current package)
h2_bundle.go#L7493: doNotReuse bool // whether conn is marked to not be reused for any future requests
h2_bundle.go#L8030: cc.doNotReuse = true
h2_bundle.go#L8138: Closing: cc.closing || cc.singleUse || cc.doNotReuse || cc.goAway != nil,
h2_bundle.go#L8175: !cc.doNotReuse &&
h2_bundle.go#L8244: return cc.doNotReuse && len(cc.streams) == 0
h2_bundle.go#L8596: cc.doNotReuse = true
h2_bundle.go#L9369: closeOnIdle := cc.singleUse || cc.doNotReuse || cc.t.disableKeepAlives() || cc.goAway != nil
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |